// Created by zyq on 2025/2/28.

#include "iostream"

using namespace std;

int main() {

//    int a;
//    cout << "输入一个整数:" << endl;
//    cin >> a;
//
//    cout << "中文乱码" << endl;

    char ch;
    cout << "输入一个字符:" << endl;
    cin.get(ch);
    while (ch != 'q'){
        cout << ch << endl;
        cin.get(ch);
    }

    return 1;
}